[vxWeb Documentation]

vxWeb HTTP Server Version 1.1.8

vxWeb Configuration

These configuration parameters control the vxWeb features, and are stored in the file vxWeb.txt which is located in the directory where vxWeb is stored or on Palm-size PCs, Pocket PCs and Windows Mobile devices the My Documents directory.

Note: If there is a space in any of the parameters (i.e Directory Name) you must put double-quotes around the parameter.

Directives


DocumentRoot

Syntax: DocumentRoot DirectoryName
Default: DocumentRoot vxWeb/HTML
This directive sets the directory from which vxWeb will serve files. Unless matched by a directive like PathAlias, the server appends the path from the requested URL to the document root to make the path to the document. Example:
DocumentRoot /vxWeb/HTML
then an access to http://www.the.host.com/index.html refers to /vxWeb/HTML/index.html


HostName

Syntax: HostName Name of host
Default: NONE
This directive sets the host name given out.


StartPage

Syntax: StartPage DocumentName
Default: StartPage index.html
This directive sets the name of the default document which vxWeb will serve. Example:
DocumentRoot /vxWeb/HTML
StartPage index.html
then an access to http://www.the.host.com refers to /vxWeb/HTML/index.html


AccessLog

Syntax: AccessLog FileName
Default: NONE
This directive sets the name of the file which will contain a log of accesses to the server. If this directive is omitted then no log will be kept.


TraceLog

Syntax: TraceLog FileName
Default: NONE
This optional directive sets the name of the file which will contain a trace of incoming accesses. Is used for debuging purposes.


ErrorLog

Syntax: ErrorLog FileName
Default: NONE
This optional directive sets the name of the file which will contain error information. Not currently used.


DeleteDir

Syntax: DeleteDir DirectoryName
Default: NONE
This optional directive sets the name of the directory which will contain resources deleted via the HTTP 1.1 DELETE method and can be used for backup.


TempDir

Syntax: TempDir DirectoryName
Default: TempDir Temp
This directive sets the name of the directory which will contain temporary files.


Port

Syntax: Port Number
Default: Port 80
The Port directive sets number of the port which vxWeb listens for incoming requests. Some port numbers (especially below 1024) are reserved for particular protocols. The standard port for the http protocol is 80.


CgiTimeOut

Syntax: CgiTimeOut Number
Default: CgiTimeOut 5000
This directive sets the number of milliseconds to wait for a CGI to complete. This prevents a runaway CGI from locking-up the server. A value of 0 indicates an infinite wait.


CommTimeOut

Syntax: CommTimeOut Number
Default: CommTimeOut 5
This directive sets the number of seconds to wait for a receive or send to complete prior to timing-out.


BinarySendStallTime

Syntax: BinarySendStallTime Number
Default: BinarySendStallTime 0
This directive sets the number of milliseconds to suspend processing between sending of blocks of binary data. This is typically used when IE and vxWeb are on the same machine and images are not displayed properly. A value of 250 maybe used in that situation.


MaxKeepAlive

Syntax: MaxKeepAlive Number
Default: MaxKeepAlive 3
This directive sets the maximum number of keep-alive requests to process in HTTP 1.1.


DNSLookup

Syntax: DNSLookup ON/OFF
Default: DNSLookup ON
If this directive is ON a DNS lookup occurs for all requests and the client name (and not address) is used for reporting functions (i.e. AccessLog).


Minimize

Syntax: Minimize ON/OFF
Default: Minimize Off
If this directive is ON a vxWeb starts in a minimize mode.


LogConnections

Syntax: LogConnections ON/OFF
Default: LogConnections On
If this directive is ON vxWeb logs connections to the local window.


LogTime

Syntax: LogTime GMT/LOCAL
Default: LogTime Local
This directive indicates what time (GMT or Local) should be used for the AccessLog.


ReadAccessName

Syntax: ReadAccessName FileName
Default: NONE
This directive sets the name of the file used for read access authorizations. See Authorizations for details.


WriteAccessName

Syntax: WriteAccessName FileName
Default: NONE
This directive sets the name of the file used for write access authorizations. See Authorizations for details.


PathAlias

Syntax: PathAlias AliasName ActualLocation
Default: NONE
This directive maps document tree aliases to real locations. There can be up to 128 aliases. Example:
PathAlias /image /vxWeb/HTML/image
PathAlias / /


ExecAlias

Syntax: ExecAlias AliasName ActualLocation
Default: NONE
This directive maps cgi-bin aliases to real locations. There can be up to 128 aliases. Example:
ExecAlias /cgi-bin /vxWeb/HTML/cgi-bin


ExtType

Syntax: ExtType Extension Type
Default: NONE
This directive is used to map file extensions to the appropriate MIME type. MIME types beginning with "text/" are assumed to be text format, all others are assumed binary and transmitted as such. There can be up to 256 extensions. Example
ExtType html text/html
ExtType jpeg image/jpeg



vxWeb HTTP Server Version 1.1.8